package org.jeecg.modules.zhima.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 赛事
 * @Author: jeecg-boot
 * @Date:   2021-02-25
 * @Version: V1.0
 */
@Data
@TableName("zm_game_backup")
@ApiModel(value="zm_game_backup对象", description="赛事")
public class ZmGameBackup implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**赛事Id*/
    @Excel(name = "赛事Id", width = 15)
    @ApiModelProperty(value = "赛事Id")
    private String gameId;
    /**举办人Id*/
    @Excel(name = "举办人Id", width = 15)
    @ApiModelProperty(value = "举办人Id")
    private String userId;
	/**比赛类型*/
    @Excel(name = "比赛类型", width = 15)
    @ApiModelProperty(value = "比赛类型")
    private Integer type;
	/**赛事主图*/
    @Excel(name = "赛事主图", width = 15)
    @ApiModelProperty(value = "赛事主图")
    private String image;
	/**是否回收鱼获*/
    @Excel(name = "是否回收鱼获", width = 15)
    @ApiModelProperty(value = "是否回收鱼获")
    private String recycleFish;
	/**标题*/
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String name;
	/**状态*/
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;
	/**联系电话*/
    @Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private String phone;
	/**参赛费/元*/
    @Excel(name = "参赛费/元", width = 15)
    @ApiModelProperty(value = "参赛费/元")
    private Integer entryFee;
	/**结赛时间*/
    @Excel(name = "结赛时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结赛时间")
    private Date endTime;
	/**奖金/元*/
    @Excel(name = "奖金/元", width = 15)
    @ApiModelProperty(value = "奖金/元")
    private Integer bonus;
	/**服务费/元*/
    @Excel(name = "服务费/元", width = 15)
    @ApiModelProperty(value = "服务费/元")
    private Integer serviceFee;
	/**开赛时间*/
    @Excel(name = "开赛时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开赛时间")
    private Date startTime;
	/**人数下限*/
    @Excel(name = "人数下限", width = 15)
    @ApiModelProperty(value = "人数下限")
    private Integer limitDown;
	/**人数上限*/
    @Excel(name = "人数上限", width = 15)
    @ApiModelProperty(value = "人数上限")
    private Integer limitUp;
	/**钓场名称*/
    @Excel(name = "钓场名称", width = 15)
    @ApiModelProperty(value = "钓场名称")
    private String fishpondName;
	/**钓场地域*/
    @Excel(name = "钓场地域", width = 15)
    @ApiModelProperty(value = "钓场地域")
    private String fishpondArea;
	/**钓场详细地址*/
    @Excel(name = "钓场详细地址", width = 15)
    @ApiModelProperty(value = "钓场详细地址")
    private String fishpondAddress;
	/**鱼讯*/
    @Excel(name = "鱼讯", width = 15)
    @ApiModelProperty(value = "鱼讯")
    private String fishInfo;
	/**放鱼量（公斤）*/
    @Excel(name = "放鱼量（公斤）", width = 15)
    @ApiModelProperty(value = "放鱼量（公斤）")
    private String fishAmount;
	/**钓场图片*/
    @Excel(name = "钓场图片", width = 15)
    @ApiModelProperty(value = "钓场图片")
    private String images;
	/**成绩公正图*/
    @Excel(name = "成绩公正图", width = 15)
    @ApiModelProperty(value = "成绩公正图")
    private String scoreImage;
	/**赛事规定*/
    @Excel(name = "赛事规定", width = 15)
    @ApiModelProperty(value = "赛事规定")
    private String description;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
}
